package sunsun.xiaoli.jiarebang;

import static sunsun.xiaoli.jiarebang.utils.bluetooth_utils.DecodeStringHexUtil.parseHexStringToBytes;

/**
 * @Author:Create by Mr.w
 * @Date:2019/3/11 10:12
 * @Description:
 */
public class TestJava {
    public static void main(String[] args) {
        String str = "ss";
        byte[] testByte = parseHexStringToBytes(str);
        byte byteLength = (byte) 0;
        for (byte b : testByte) {
            byteLength += b;
        }
        System.out.println("哈哈哈哈" + Integer.toHexString(byteLength & 0xFF));
    }
}
